<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="glCarList" checkbox="true" pagination="true" fitColumns="true"  sortName="id" actionUrl="glCarController.do?datagrid&type=${type}" idField="id" fit="true" queryMode="group">
   <t:dgCol title="查找编号"  field="infoid" hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="系统编号1"  field="sysid"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="单位/个人名称"  field="fullname"  query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="联系人"  field="contacter"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="联系电话"  field="mobile" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="长期流向"  field="direction"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="车型"  field="truckcat"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="车辆载重"  field="ratedload" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="驾驶员身份证号"  field="trucknum"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="有效期开始"  field="validstartdate"  formatter="yyyy-MM-dd"    queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="有效期结束"  field="validenddate"  formatter="yyyy-MM-dd"   queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="备注"  field="remark"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="申请人编号"  field="userid"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="申请时间"  field="reqtime"  formatter="yyyy-MM-dd"  hidden="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="信息来源"  field="infosource" hidden="true"  queryMode="single"  width="120" dictionary="REGSOURCE"></t:dgCol>
   <t:dgCol title="申请状态"  field="reqstate"   queryMode="single"  dictionary="STANDARDVERIFYSTATUS"  width="120"></t:dgCol>
   <t:dgCol title="驾驶员姓名"  field="truckname"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="驾驶员资质信息"  field="jsyzz"  hidden="true"  queryMode="group"  image="true" imageSize="50,50"  width="120"></t:dgCol>
   <t:dgCol title="车辆资质信息"  field="clzz"  hidden="true"  queryMode="group"  image="true" imageSize="50,50"  width="120"></t:dgCol>
   <t:dgCol title="商铺id"  field="shopid"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="驾驶证"  field="jsz"  hidden="true"  queryMode="group"  image="true" imageSize="50,50"  width="120"></t:dgCol>
   <t:dgCol title="行车证"  field="xcz"  hidden="true"  queryMode="group"  image="true" imageSize="50,50"  width="120"></t:dgCol>
   <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
      <t:dgDelOpt title="删除" url="glCarController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
    <t:dgToolBar title="查看" icon="icon-search" url="glCarController.do?goUpdate" funname="detail" height="500"></t:dgToolBar>
    <c:if test="${type=='shenpi'}">
    <t:dgToolBar title="审核" icon="icon-edit" url="glCarController.do?goVerify" funname="verify" height="500"></t:dgToolBar>
   </c:if>

  
  
   <%-- <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
   
   <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> --%>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'glCarController.do?upload', "glCarList");
}

//导出
function ExportXls() {
	JeecgExcelExport("glCarController.do?exportXls","glCarList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("glCarController.do?exportXlsByT","glCarList");
}

 </script>
